package com.unbook.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.unbook.entity.User;
import com.unbook.entity.params.UserInfoParam;
import com.unbook.entity.params.UserParam;

public interface IUserService extends IService<User> {
    /**
     * 初始化用户信息（微信登录时进行用户信息初始化）
     * @param user
     * @return
     */
    boolean initUser(UserParam user);
    User saveUserInfo(String uId,UserInfoParam param);
    boolean disable(String uId) throws Exception;
    boolean unDisable(String uId) throws Exception;
}
